package com.arpa.wms.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 破损明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-20
 */
@Data
@ApiModel(value="DamagedItemVO对象", description="破损明细")
public class DamagedItemVO implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(hidden = true)
    private Integer id;

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "破损单号")
    private String damagedCode;

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "单位标识")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "破损数量")
    private BigDecimal unitQuantity;

    @ApiModelProperty(value = "实际数量")
    private BigDecimal actualQuantity;

    @ApiModelProperty(value = "基本单位转换数量")
    private BigDecimal basicQuantity;

    @ApiModelProperty(value = "单位实际报损数量")
    private BigDecimal actualUnitQuantity;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "总数")
    private Long total;


    @ApiModelProperty(value = "规格")
    private String spec;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "关联单位")
    private List<GoodsUnitConversionVO> goodsUnitConversionList = Lists.newArrayList();

}
